package com.sunny.fetch.mapper;

import com.sunny.fetch.pojo.SunUser;
import com.sunny.fetch.pojo.SunUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.additional.insert.InsertListMapper;
import tk.mybatis.mapper.common.Mapper;

public interface SunUserMapper extends Mapper<SunUser>, InsertListMapper<SunUser> {
    long countByExample(SunUserExample example);

    int deleteByExample(SunUserExample example);

    List<SunUser> selectByExample(SunUserExample example);

    int updateByExampleSelective(@Param("record") SunUser record, @Param("example") SunUserExample example);

    int updateByExample(@Param("record") SunUser record, @Param("example") SunUserExample example);
}